TEMPLATE = subdirs
CONFIG += ordered

SUBDIRS += \
    serializer \
    itemmodel \
    dtwenty \
    dtwentymanager

include(dtwentytools-defines.pri)

# GET QT BINARY FILE DIRECTORY
QTLIB = $$[QT_INSTALL_BINS]

win32: {

# REPLACE BACKSLASHES WITH FORWARD SLASHES (replace uses regular expression)
# Only usable with quite fresh qmake (4.7.2)
QTLIB = $$replace(QTLIB, [\\\\], /) #BACKSLASHES NEED TO BE ESCAPED FOR QMAKE, AND THEN ESCAPED *AGAIN* FOR REGEXP

qt-install.files += $$QTLIB/*.dll
qt-install.path = $$DESTDIR

INSTALLS += qt-install
}
